package org.ssyvsse.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {

    @GetMapping(value="/abc")
    public Object testException(){
        int i = 5/0;
        return i;
    }

    @GetMapping(value="/error")
    public String error(){
        return "error";
    }

}
